From: Florian Müllner Date: Tue, 17 Mar 2015 01:25:15 +0000 (+0100) Subject: telepathyClient: Remove some dead code X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~1466 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=b2ae945cf275575f1edd7c879557ff56db839144;p=gnome-shell.git telepathyClient: Remove some dead code This has been unused ever since we stopped logging presence changes in commit 4448b65a18a05d ... --- diff --git a/js/ui/components/telepathyClient.js b/js/ui/components/telepathyClient.js index 44048d5b8..8e9b6ce5b 100644 --- a/js/ui/components/telepathyClient.js +++ b/js/ui/components/telepathyClient.js @@ -546,14 +546,8 @@ const ChatSource = new Lang.Class({ }, _presenceChanged: function (contact, presence, status, message) { - let msg, title; - - title = GLib.markup_escape_text(this.title, -1); - + let title = GLib.markup_escape_text(this.title, -1); this._notification.update(this._notification.title, null, { customContent: true, secondaryGIcon: this.getSecondaryIcon() }); - - if (message) - msg += ' (' + GLib.markup_escape_text(message, -1) + ')'; }, _pendingRemoved: function(channel, message) {